package com.atguigu.gmall.item.config.thread;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 钟涛
 * @version 1.0
 * @description: TODO
 * @date 2021/12/16 15:20
 */
@Data
@ConfigurationProperties(prefix = "service.thread-pool")
public class ItemThreadPoolProperties {
    private String threadPoolName = "item";
    private Integer corePoolSize = 8;
    private Integer maximumPoolSize = 32;
    private Long keepAliveTime = 60L;
    private Integer workQueueSize = 10000;
}
